export function timeStampToDate(timeStamp) {
    // 传入进来的是时间戳
    let date = new Date(timeStamp)
    let year = date.getFullYear()
    let month = date.getMonth() + 1
    let day = date.getDate() 
    let hour = date.getHours()
    let minute = date.getMinutes()
    let second = date.getSeconds()
    return `${year}-${month}-${day}日 ${hour}:${minute}:${second}`
}